package com.zmj.sy.mom.srv.aps.bean.entity.third;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Comment("卓畅套料-推送零件图纸")
@Getter
@Setter
@TableName("tb_third_sinocam_pushdrawing")
public class SinoCamPushDrawing extends BaseEntity {

    @Comment("订单ID")
    private Integer orderId;

    @Comment("推送状态 1新增待推送 2修改待推送 3删除待推送 4推送成功 5推送失败")
    private Integer status;

    @Comment("图纸修改标志 1 未修改 2 修改")
    private Integer drawStatus;

    @Comment("零件信息修改标志 1 未修改 2 修改")
    private Integer partStatus;

    @Comment("失败原因")
    private String errorMsg;

    @Comment("卓畅套料对接ID")
    private Integer sinoCamId;

    @Comment("状态值 C：新增 M：修改 D：删除")
    private String state;

    @Comment("工厂编号")
    private String factoryIdk;

//    @Comment("版本 默认为1")
//    private String versionBase;

    @Comment("施工号")
    private String projectId;

    @Comment("零件编码")
    private String partId;

    @Comment("零件名称")
    private String partName;

    @Comment("零件类型") //1：板材   0：型材
    private Integer partType;

    @Comment("数量 若为空则等于单台套数量*套数")
    private Integer quantity;

    @Comment("产品编号")
    private String productId;

    @Comment("部件编号")//父PLMID
    private String componentId;

    @Comment("图纸编号")//PLMID
    private String chartId;

    @Comment("规格")//型材零件传截面规格，板材传厚度
    private String norm;

    @Comment("厚度")//板材零件厚度
    private BigDecimal thickNess;

    @Comment("长度")
    private BigDecimal length;

    @Comment("宽度")
    private BigDecimal width;

    @Comment("材质")
    private String texture;

    @Comment("净重")
    private BigDecimal netWeight;

    @Comment("零件图纸路径")//零件图纸的下载路径，支持ftp、http、https、服务器本地路径
    private String filePath;

    @Comment("零件唯一号(订单号#零件号)")
    private String uniMaterCode;

    @Comment("挂起状态 0 未挂起 1 挂起")
    private Integer suspensionStatus;

    @Comment("挂起原因")
    private String suspensionCause;

    @Comment("推送方：1 海克斯康 2 兰特克 ")
    private Integer pushType;

    @Comment("版本号，默认为1")
    private Long versionNum;

    @Comment("dxf表图纸版本")
    private String drawVersion;

}
